<?php
/**
 * Created by PhpStorm.
 * User: hualei
 * Date: 2015/5/31
 * Time: 10:44
 */
namespace app\modules\h5cargo\controllers;
use Yii;
use app\modules\h5cargo\models\JSSDK;
//use yii\web\Controller;

class IndexController extends AuthController
{
    public $enableCsrfValidation = false;
    public $layout = 'stair_layout';

    //泊车首页
    public function actionParkindex()
    {
       // $view = Yii::$app->view;
        //$view->params['layoutTitle']='泊车';
        return $this->render('parkIndex');
    }
    //租车
    public function actionRentalcar()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='租车';
        return $this->render('rentalCar');
    }
    //爱车列表
    public function actionMycarlist()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='爱车列表';
        return $this->render('myCarList');
    }
    //权益首页
    public function actionWelfare()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='权益';
        return $this->render('welfare');
    }

    //个人中心
    public function actionHome()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='账户中心';
        return $this->render('home');
    }


    public function actionParkorder()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='泊车订单';
        return $this->render('parkOrder');
    }
    //泊车选择支付
    public function actionChoosepayment(){

        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='选择支付方式';
        return $this->render('parkChoosePayment');
    }
    public function actionParkcheckcar(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='泊车验证车辆';
        return $this->render('parkCheckCar');
    }
    public function actionParkrecommend(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='泊车确认';
        return $this->render('parkRecommend');
    }
    public function actionZhifupark(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='支付泊车订单';
        return $this->render('zhifu_Park');
    }


    //租车订单
    public function actionRentalcarorder()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='租车订单';
        return $this->render('rentalCarOrder');
    }
    //
    public function actionCardetails()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆详细';
        return $this->render('carDetails');
    }

    public function actionRentalcarorderdetails(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='租车订单详细';
        return $this->render('rentalCarOrderDetails');
    }

    public function actionOrderdetails(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='订单详细';
        return $this->render('orderDetails');
    }
    public function actionCheckidcard(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='验证身份信息';
        return $this->render('checkIdCard');
    }
    public function actionCheckbankcard(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='验证银行卡信息';
        return $this->render('checkBankCard');
    }
    public function actionCarrental(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租';
        return $this->render('carRental');
    }
    public function actionCarmanger(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆管理';
        return $this->render('carManger');
    }
     public function actionCheckcar(){
         //$view = Yii::$app->view;
         //$view->params['layoutTitle']='验证车辆';
            return $this->render('checkCar');
    }
    public function actionCarrentalok(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租';
        return $this->render('carRentalOk');
    }
    public function actionCarrentalorder(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租订单';
        return $this->render('carRentalOrder');
    }
    public function actionCarrentalorderdetails(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租订单详细';
        return $this->render('carRentalOrderDetails');
    }
    public function actionCarrentalordergivecar(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租';
        return $this->render('carRentalOrderGiveCar');
    }
    public function actionCarrentalordergetcar(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆出租';
        return $this->render('carRentalOrderGetCar');
    }
    public function actionEditloginpass(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='修改登录密码';
        return $this->render('editLoginPass');
    }
    public function actionEditpaypass(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='修改支付密码';
        return $this->render('editPayPass');
    }
    public function actionCardmanger(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='银行卡管理';
        return $this->render('cardManger');
    }
    public function actionChangepass(){
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='密码设置';
        return $this->render('changePass');
    }
    public function actionWithdrawalstate()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='余额提现';
        return $this->render('withdrawalState');
    }
    public function actionTradedetails()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='交易明细';
        return $this->render('tradeDetails');
    }
    public function actionCheckowner()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='身份认证';
        return $this->render('checkOwner');
    }
    public function actionShowowner()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='身份认证信息';
        return $this->render('showowner');
    }
    public function actionYouhui()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='抵用券信息';
        return $this->render('youhui');
    }
    public function actionZhifuother()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='支付';
        return $this->render('zhifu_other');
    }
    public function actionParkorderdetails()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='泊车订单详细';
        return $this->render('parkOrderDetails');
    }
    public function actionCaredit()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='车辆修改';
        return $this->render('carEdit');
    }
    public function actionRecheckcar()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='添加车辆';
        return $this->render('RecheckCar');
    }
    public function actionPicmap()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='门店定位';
        return $this->render('pic_map');
    }
    public function actionZhifuyajin()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='支付押金';
        return $this->render('zhifu_yajin');
    }
    public function actionOthercostdetails()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='费用支付详情';
        return $this->render('otherCostdetails');
    }
    public function actionCarcheckdetailsquche()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='取车验车';
        return $this->render('carCheckDetailsQuche');
    }
    public function actionCarcheckdetailshuanche()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='还车验车';
        return $this->render('carCheckDetailsHuanche');
    }

    public function actionPaycallback()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='支付回调';
        $this->layout=false;
        return $this->render('paycallback');
    }
    public function actionPayok()
    {
        $this->layout=false;
        return $this->render('payok');
    }
    public function actionAuthorizedsuccess()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='授权成功';
        return $this->render('authorizedSuccess');
    }
    public function actionParkconfirm()
    {
        //$view = Yii::$app->view;
        //$view->params['layoutTitle']='授权成功';
        return $this->render('parkConfirm');
    }


}